//
//  QHKeyboard.h
//  QHKeyboard
//
//  Created by 王庆华 on 16/11/24.
//  Copyright © 2016年 王庆华. All rights reserved.
//

#import <UIKit/UIKit.h>

@class QHKeyboard;

@protocol QHKeyboardDelegate  <NSObject>

@required
- (void)keyboardDoneDidClickedWith:(QHKeyboard *)keyboard;
- (void)keyboardDateDidClickedWith:(QHKeyboard *)keyboard;

@end

@interface QHKeyboard : UIView

@property (nonatomic, weak) UIView *toolBar;
@property (nonatomic, weak) UIView *responderLable;

@property (nonatomic, weak) id<QHKeyboardDelegate> delegate;

/** 键盘是否展示 */
@property (nonatomic, assign) BOOL isShow;
/** 显示的日期 */
@property (nonatomic, strong) NSDate *date;

- (void)showOnWindow;
- (void)showOnView:(UIView *)view;
- (void)dissmiss;

@end
